﻿using ERPSystem.Common.BaseEntitys;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPSystem.Common.Domains.ReturnNotice
{
    /// <summary>
    /// 退票通知单表
    /// </summary>
    [SugarTable("refundNotice")]
    public class refundNotice : BaseEntity
    {
        /// <summary>
        /// 退票通知单表主键编号
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int ReturnNoticesId { get; set; }
        /// <summary>
        /// 退票通知单单据编号
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]
        public string ReturnNumber { get; set; }
        /// <summary>
        /// 业务类型
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]
        public string BusinessTypeId { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]
        public string Warehouseld { get; set; }
        /// <summary>
        /// 备注信息
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]
        public string Remark { get; set; }
        /// <summary>
        /// 单据日期
        /// </summary>
        public DateTime DocumentsDate { get; set; }
        /// <summary>
        /// 操作员
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]
        public string Operator { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]
        public string ClientName { get; set; }
        /// <summary>
        /// 单据状态
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]
        public string Documentstatus { get; set; }
        /// <summary>
        /// 退货原因
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]
        public string ReturnReason { get; set; }
        /// <summary>
        /// 业务状态
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]
        public string BusinessstateId { get; set; }
        /// <summary>
        /// 处理方式
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]
        public string Processing { get; set; }
        /// <summary>
        /// 流水号
        /// </summary>s
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]
        public string? ThSerialnumber { get; set; }
    }
}
